<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-mp_id" class="control-label col-xs-12 col-sm-2">{:__('Mp_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mp_id" data-rule="required" data-source="mp/index" class="form-control selectpage" name="row[mp_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-uid" class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-product_id" class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="product/index" class="form-control selectpage" name="row[product_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-template_id" class="control-label col-xs-12 col-sm-2">{:__('Template_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-template_id" data-rule="required" data-source="template/index" class="form-control selectpage" name="row[template_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-ext_json" class="control-label col-xs-12 col-sm-2">{:__('Ext_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-ext_json" data-rule="required" class="form-control " rows="5" name="row[ext_json]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_version" class="control-label col-xs-12 col-sm-2">{:__('User_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_version" data-rule="required" class="form-control" name="row[user_version]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_desc" class="control-label col-xs-12 col-sm-2">{:__('User_desc')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_desc" data-rule="required" class="form-control" name="row[user_desc]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="status -1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-audit_status" class="control-label col-xs-12 col-sm-2">{:__('Audit_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="auditStatusList" item="vo"}
            <label for="row[audit_status]-{$key}"><input id="row[audit_status]-{$key}" name="row[audit_status]" type="radio" value="{$key}" {in name="key" value="audit_status -1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-category_list" class="control-label col-xs-12 col-sm-2">{:__('Category_list')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-category_list" data-rule="required" class="form-control " rows="5" name="row[category_list]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-page_list" class="control-label col-xs-12 col-sm-2">{:__('Page_list')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-page_list" data-rule="required" class="form-control " rows="5" name="row[page_list]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-item_list" class="control-label col-xs-12 col-sm-2">{:__('Item_list')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-item_list" data-rule="required" class="form-control " rows="5" name="row[item_list]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-auditid" class="control-label col-xs-12 col-sm-2">{:__('Auditid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-auditid" data-rule="required" class="form-control" name="row[auditid]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-reason" class="control-label col-xs-12 col-sm-2">{:__('Reason')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-reason" class="form-control " rows="5" name="row[reason]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-succ_time" class="control-label col-xs-12 col-sm-2">{:__('Succ_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-succ_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[succ_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-fail_time" class="control-label col-xs-12 col-sm-2">{:__('Fail_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fail_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[fail_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
